package com.yc.cloudvideo.sp_store.service;

import com.yc.cloudvideo.entity.File;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.common.bean.Result;
import com.yc.common.biz.BizException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LYYT
 * @since 2022-08-03
 */
public interface IFileService extends IService<File> {
    Result upload(int uid,int cid, String savePath, MultipartFile file) throws BizException, IOException;

}
